package strategy;

/**
 * 玩具鸭
 */
public class ToyDuck extends Duck {
    public ToyDuck() {
        super("玩具鸭");
    }

    public void quack() {
        System.out.println("玩具鸭不能叫~~");
    }

    public void swim() {
        System.out.println("玩具鸭不会游泳~~");
    }

    public void fly() {
        System.out.println("玩具鸭不会飞翔~~~");
    }
}
